<?php

namespace app\admin\model;

class Guidetoaffairs extends Base
{

    // 分类
    public function getCategoryIdAttr($categoryId){
        if(!$categoryId){
            return '';
        }
        $categoryIArr = get_guidetoaffairsType();

        return $categoryIArr[$categoryId];
    }

}